<?php
namespace Api\Controller;

use Think\Controller;

class CollectController extends CommonController
{
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * 收藏-商品
     * @return [type] [description]
     */
    public function goods()
    {
        $goods = D('Api/Collect', 'Service')->goods(USER_ID);
        success($goods);
    }

    /**
     * 收藏-店铺
     * @return [type] [description]
     */
    public function shop()
    {
        $shop = D('Api/Collect', 'Service')->shop(USER_ID);

        success($shop);
    }
}
